package com.huluobo.a2109mouthdemo.login;

/**
 * Created by LC on 2023/12/1.
 */
public interface LoginContract {
    interface Presenter {
        void login(String username, String password);
    }

    interface View {
        void onUsernameError();

        void onPasswordError();

        void onStartLogin();

        void onLoginSuccess();

        void onLoginFailed(String error);
    }
}
